import http from '@/utils/http'
import type { GetUserListData } from "./type"

const api_name = '/admin/acl/user'
export function getUserList(page: number, limit: number, username?: string) {
    return http.get<GetUserListData>(`${api_name}/${page}/${limit}`, { username })
}